package net.xdclass.service;

import net.xdclass.controller.request.AccountLoginRequest;
import net.xdclass.controller.request.AccountRegisterRequest;
import net.xdclass.model.AccountDO;
import com.baomidou.mybatisplus.extension.service.IService;
import net.xdclass.utils.JsonData;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 二当家小D
 * @since 2025-02-20
 */
public interface AccountService extends IService<AccountDO> {

    /**
     * 短信验证码注册接口
     * @param accountRegisterRequest
     * @return
     */
    JsonData register(AccountRegisterRequest accountRegisterRequest);

    /**
     * 用户登录
     * @param accountLoginRequest
     * @return
     */
    JsonData login(AccountLoginRequest accountLoginRequest);
}
